import { http } from "@/utils/http";
import {StringResult} from "@/types/apiTypes";

export function getQrCodeApi(params: object): Promise<StringResult> {
  return http.request({
    url: "/getQrCode",
    method: "get",
    params
  });
}


export function closeApi(): Promise<StringResult> {
  return http.request({
    url: "/close",
    method: "get"
  });
}